package com.shuwen.gcdj.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 企业(t_user_account)实体类
 *
 * @author localhost_ubuntu
 * @since 2021-11-24 21:56:05
 * @description created by mybaits plus code generator
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_user_company")
public class Company extends Model<Company> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 登录账户id
     */
    @TableId(type = IdType.ASSIGN_UUID)
	private String id;
    /**
     * 企业code
     */
    private String code;
    /**
     * 企业名称
     */
    private String name;
    /**
     * 创建者id
     */
    private String createId;
    /**
     * 更新者id
     */
    private String updateId;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;
    /**
     * 是否删除 1-删除 0-正常
     */
    private Integer isDelete;

}